﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrNewsCategory.ascx.cs"
    Inherits="Controls_News_ctrNewsCategory" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>
<div id="maincontent">
    <asp:Label ID="lblNews" runat="server"></asp:Label>
    <div>
        <asp:DataList ID="dtlNewsByCat" runat="server" RepeatColumns="2" HorizontalAlign="Left"
            OnItemCommand="dtlNewsByCat_ItemCommand" OnItemDataBound="dtlNewsByCat_ItemDataBound">
            <ItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:ImageButton ID="btnImage" runat="server" CommandName="newsimage"/>
                        </td>
                        <td>
                            <asp:HyperLink ID="lnkTitle" runat="server"></asp:HyperLink><br />
                            <asp:Label ID="lnkInitData" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
        <div>
            <cc:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" />
        </div>
        <div id="tblWarning" runat="server" align="center">
            <asp:Label ID="lblWarning" runat="server"></asp:Label>
        </div>
    </div>
</div>
